﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddorEditProductList.aspx.cs"
    Inherits="kim.AddorEditProductList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>发布资讯</title>
    <link rel="stylesheet" type="text/css" href="../img/style.css" />
    <script src="../ckeditor/ckeditor.js" type="text/javascript"></script>
    <script src="../ckfinder/ckfinder.js" type="text/javascript"></script>
    <script src="/kim/scripts/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="/kim/scripts/jquery.form.js" type="text/javascript"></script>

</head>
<body style="padding: 10px;">
    <form id="form1" runat="server">
    <div class="navigation">
        <b>您当前的位置：首页 &gt;
            <asp:Label ID="labtitle" runat="server" Text=""></asp:Label>
            &gt; 信息修改</b>
    </div>
    <div style="padding-bottom: 10px;">
    </div>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
         <tr style="height: 30px;">
            <td width="15%" align="right">
                分类：
            </td>
            <td width="85%">
                 <asp:DropDownList ID="ddlParentId" runat="server"></asp:DropDownList>
                
            </td>
        </tr>
        
        <tr style="height: 30px;">
            <td width="15%" align="right">
                标题：
            </td>
            <td width="85%">
                <input class="input required number" type="text" id="txtTitle" datatype="*2-200"
                    nullmsg="请输入产品名称！" errormsg="输入产品名称字符在2-200个之内！" runat="server" width="284px" />
            </td>
        </tr>
        
         <tr style="height: 30px;" runat="server"  visible="false" >
            <td width="15%" align="right">
                简介：
            </td>
            <td width="85%">
                <textarea id="txtjj"    name="editor2" class="ckeditor" datatype="*2-400" 
                    nullmsg="请输入产品简介！" errormsg="输入产品简介在2-400个之内！" runat="server"  ignore="ignore"></textarea>
                     <script type="text/javascript">
                         window.onload = function () {
                             var editor = CKEDITOR.replace('editor2');
                             CKFinder.SetupCKEditor("editor2", '../ckfinder/');
                             CKEDITOR.config.toolbar = "Basic";
                         };</script>
            </td>
        </tr>
        <div id="img"  runat="server" visible="false">
        <tr style="height: 30px;">
            <td align="right" valign="top">
                小&nbsp;&nbsp;&nbsp;图：
            </td>
            <td>
                  <img id="Headpic" runat="server" src="" width="100" alt="" style="float: left" />
                <asp:HiddenField ID="txtImgUrl_max" runat="server" />
                <asp:HiddenField ID="txtImgUrl_min" runat="server" />
                <a href="javascript:;" class="files">
                    <input type="file" id="FileUpload" name="FileUpload" onchange="Upload('SingleFile', 'txtImgUrl_max', 'FileUpload','1','1');" /></a>
                <span class="uploading">正在上传，请稍候...</span>
            </td>
        </tr>
       
          <tr style="height: 30px;"  >
            <td align="right" valign="top">
                大&nbsp;&nbsp;&nbsp;面：
            </td>
            <td>
                <img id="BigHeadpic" runat="server" src="" width="100" __designer:mapid="4f6" />
                &nbsp;&nbsp;&nbsp;
                <asp:FileUpload ID="FileUpload1" runat="server" />
                &nbsp;<asp:Button ID="btn_sc" runat="server" Text="上传" OnClick="htn_upload_Click" />
            </td>
        </tr>
        </div>
        <tr style="height: 30px;">
            <td align="right">
                序列值：
            </td>
            <td>
                <input class="input required number" type="text" id="txt_postion" datatype="n" nullmsg="请输入序列值！"
                    errormsg="请输入阿拉伯数字！" runat="server" value="0" ignore="ignore" />
                
            </td>
        </tr>
        <tr style="height: 30px;">
            <td align="right" >
               介绍：
            </td>
            <td>
               <textarea name="editor1" cols="20" rows="2" class="ckeditor" id="txt_Content" runat="server"></textarea>
                <script type="text/javascript">
                    window.onload = function () {
                        var editor = CKEDITOR.replace('editor1');
                        CKFinder.SetupCKEditor("editor1", '../ckfinder/');
                    };</script>
            </td>
        </tr>
        <tr style="height: 30px;">
            <td align="right">
                是否显示：
            </td>
            <td>
                <asp:CheckBox ID="CbIsShow" runat="server"  Checked="true"/>
                打勾的为，在前台页面显示。
            </td>
        </tr>

           
    </table>
    <div style="margin-top: 10px; text-align: center;">
        <asp:Button ID="btnSave" runat="server" Text="确认保存" CssClass="submit" OnClick="btnSave_Click" />
        &nbsp; &nbsp;&nbsp;<asp:Label ID="lbmsg" runat="server" Text="" ForeColor="Red"></asp:Label>
    </div>
    </form>
        <script src="../Js/Validform_v5.3_min.js" type="text/javascript"></script>
    <script src="/kim/scripts/function.js" type="text/javascript"></script>
</body>
</html>
